package com.lc.YYGH.hosp;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@ComponentScan(basePackages = "com.lc.YYGH")
@SpringBootApplication
//开启nacos服务注册发现的支持
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.lc.YYGH")
public class ServiceHospApp {
    public static void main(String[] args) {
        SpringApplication.run(ServiceHospApp.class,args);
    }
}
